<?php


if(!defined("GC_WEB")) {
	exit;
}


function _section($section) {
	return dirname(__DIR__) . "/controller/section/$section.php";
}

function _view($section) {
	$file = _section($section);
	$data = is_file($file) ? include($file) : array();
	include dirname(__DIR__) . "/view/section/$section.php";
}

function __($str) {
	return htmlentities($str);
}
